
<section class="alin-scroll-contents">
  <div class="alin-scroll-box" data-ydui-scrolltab>
    <div  class="alin-scroll-nav"  >
      <a *ngFor="let item of data;" (click)="select(item)" class="alin-scroll-item" [ngClass]="{'alin-crt':item.index==_currentIndicator}" >
        <div class="alin-scroll-item-icon"></div>
        <div class="alin-scroll-item-text"> {{item.name}}</div>
      </a>
    </div>
    <div #scrollContent class="alin-scroll-content" (scroll)="onScroll($event)" >
        <ng-content ></ng-content>
    </div>
  </div>
</section>

